<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="author" content="王晨阳">
    <title>学生信息管理系统</title>
    <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body {
            padding-top: 51px;
        }
        
        h1 {
            margin: 0px;
            font-size: 2.2rem;
            font-family: '微软雅黑';
            line-height: 60px;
        }
        
        .navbar {
            margin-bottom: 0;
        }
        
        .header {
            height: 60px;
            background-color: #EEEEEE;
        }
        
        .btns {
            padding: 10px 15px;
        }
        
        .pages a {
            display: inline-block;
            height: 32px;
            border-radius: 16px;
            border: 1px solid #DDDDDD;
            line-height: 32px;
        }
        
        .pages .page1 {
            width: 72px;
        }
        
        .pages .page2 {
            width: 42px;
        }
    </style>
</head>

<body>
    <!--1.导航条-->
    <!--.navbar-inverse,反色导航条-->
    <nav class="navbar navbar-inverse navbar-fixed-top">
        <!--.container,容器类，它可以实现定宽居中的效果-->
        <div class="container">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#my-navbar-collapse" aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <!--.navbar-brand,导航条的logo区域-->
                <a class="navbar-brand" href="#">学生信息管理系统</a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="my-navbar-collapse">
                <ul class="nav navbar-nav">
                    <li><a href="#">首页 <span class="sr-only">(current)</span></a></li>
                    <!--.active: 表示默认被选中的项目-->
                    <li class="active"><a href="#">学生管理</a></li>
                </ul>
            </div>
            <!-- /.navbar-collapse -->
        </div>
        <!-- /.container-fluid -->
    </nav>
    <!--2.头部-->
    <div class="header">
        <div class="container">
            <h1>学生查询及管理</h1>
        </div>
    </div>
    <!--3.按钮组-->
    <div class="container btns">
        <button type="button" class="btn btn-success" onclick="location.href='add.html'">添加学生</button>
        <button type="button" class="btn btn-warning" data-toggle="modal" data-target="#serchModal"><span class="glyphicon glyphicon-search"></span> 搜索</button>
    </div>
    <!--4.表格-->
    <div class="table-responsive container">
        <table class="table table-bordered table-hover">
            <tr class="active">
                <td>姓名</td>
                <td class="text-center">性别</td>
                <td class="text-center">年龄</td>
                <td class="text-center">手机号</td>
                <td>电子邮箱</td>
                <td>创建时间<span class="glyphicon glyphicon-arrow-down"></span></td>
                <td class="text-center">修改</td>
                <td class="text-center">删除</td>
            </tr>
            <tr>
                <td>张三</td>
                <td class="text-center">男</td>
                <td class="text-center">26</td>
                <td class="text-center">13324567899</td>
                <td>678900@qq.com</td>
                <td>2017-04-10 12:43</td>
                <td class="text-center"><span class="glyphicon glyphicon-edit "></span></td>
                <td class="text-center"><span class="glyphicon glyphicon-trash" data-toggle="modal" data-target="#myModal" id="mymodal"></span></td>
            </tr>
            <tr>
                <td>张三</td>
                <td class="text-center">男</td>
                <td class="text-center">26</td>
                <td class="text-center">13324567899</td>
                <td>678900@qq.com</td>
                <td>2017-04-10 12:43</td>
                <td class="text-center"><span class="glyphicon glyphicon-edit"></span></td>
                <td class="text-center"><span class="glyphicon glyphicon-trash"></span></td>
            </tr>
            <tr>
                <td>张三</td>
                <td class="text-center">男</td>
                <td class="text-center">26</td>
                <td class="text-center">13324567899</td>
                <td>678900@qq.com</td>
                <td>2017-04-10 12:43</td>
                <td class="text-center"><span class="glyphicon glyphicon-edit"></span></td>
                <td class="text-center"><span class="glyphicon glyphicon-trash"></span></td>
            </tr>
            <tr>
                <td>张三</td>
                <td class="text-center">男</td>
                <td class="text-center">26</td>
                <td class="text-center">13324567899</td>
                <td>678900@qq.com</td>
                <td>2017-04-10 12:43</td>
                <td class="text-center"><span class="glyphicon glyphicon-edit"></span></td>
                <td class="text-center"><span class="glyphicon glyphicon-trash"></span></td>
            </tr>
            <tr>
                <td>张三</td>
                <td class="text-center">男</td>
                <td class="text-center">26</td>
                <td class="text-center">13324567899</td>
                <td>678900@qq.com</td>
                <td>2017-04-10 12:43</td>
                <td class="text-center"><span class="glyphicon glyphicon-edit"></span></td>
                <td class="text-center"><span class="glyphicon glyphicon-trash"></span></td>
            </tr>

        </table>
    </div>

    <!--5.pages-->
    <div class="pages text-center">
        <a class="page1">上一页</a>
        <a class="page2">1</a>
        <a class="page2">2</a>
        <a class="page2">3</a>
        <a class="page1">下一页</a>
    </div>

    <!--删除-模态框-->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog " role="document">
            <div class="modal-content col-md-6">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">确定要删除吗？</h4>
                </div>
                <div class="modal-body">
                    点击确定删除学生信息
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn btn-danger btn btn-primary btn-sm" class="btn btn-primary">确定</button>
                    <button type="button" class="btn btn-default btn btn-primary btn-sm" data-dismiss="modal">取消</button>

                </div>
            </div>
        </div>
    </div>

    <!--搜索-模态框-->
    <div class="modal fade" id="serchModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog " role="document">
            <div class="modal-content col-md-6">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">学生信息搜索</h4>
                </div>
                <div class="form-group">
                <label for="name" class="col-sm-2 control-label">姓名：</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control" id="name" placeholder="请填写学生姓名">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">性别：</label>
                <div class="col-sm-2">
                    <label class="radio-inline">
                <input checked type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> 男
              </label>
                    <label class="radio-inline">
                <input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> 女
              </label>
                </div>
            </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn btn-danger btn btn-primary btn-sm" class="btn btn-primary">确定</button>
                    <button type="button" class="btn btn-default btn btn-primary btn-sm" data-dismiss="modal">取消</button>

                </div>
            </div>
        </div>
    </div>
                <!--填写表单内容-->
       
            
            
            


    <script src="bootstrap/js/jquery.min.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>
</body>

</html>